package com.yehangtech.designpattern.创建型_抽象工厂.adpater;


import com.yehangtech.designpattern.创建型_抽象工厂.cache.GoodsCache;

public class GoodsAdapter implements ICacheAdapter{
    @Override
    public String get(String key) {
        return GoodsCache.getGoods(key);
    }

    @Override
    public void set(String key, String data) {
        GoodsCache.setGoods(key, data);
    }
}
